﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DocsConverter.Core;

namespace DocsConverter.Demo
{
    class Program
    {
        static void Main(string[] args)
        {
            // http://www.swftools.org/
            DocsConvertConfig.Pdf2SwfExePath = @"D:\SWFTools\pdf2swf.exe";
            DocsConvertConfig.FlashPaperExePath = @"D:\FlashPaper2.2\FlashPrinter.exe";

            DocToPdf.ConvertViaPrinter(DocsConvertConfig.FlashPaperExePath, @"D:\1.doc", @"D:\1.pdf");
            //PdfToSwf.Convert2Swf(DocsConvertConfig.Pdf2SwfExePath, @"D:\1.pdf", @"D:\1.swf", true);
            //PdfToImage.ConvertMulti(@"D:\1.pdf", @"D:\1");
            
            //Console.ReadKey();
        }
    }
}
